import {createRouter, createWebHashHistory} from "vue-router";

const routerHash = createWebHashHistory();


// @ts-ignore
const routes = [

    {
        path: '/',
        redirect: '/chatRobotIndex'
    },
    {
        path: '/chatRobotIndex',
        name: 'chatRobotIndex',
        component: () => import('@/pages/aiChat/aiChat.vue')
    },
    {
        path: '/chatRobotApp',
        name: 'chatRobotApp',
        component: () => import('@/pages/aiChatApp/index.vue')
    },
]
const router = createRouter({
    history: routerHash,
    routes
});


export default router;
